package way.scripts.classDoc.segment;

import org.apache.commons.lang3.tuple.Pair;

/**
 * @author Haozhiqiang  {2021/12/7 14:12}
 */
public class ModuleDes extends AbstractNode {

    private static final String name = "模块描述";
    private static final String[] columns = {"描述", "备注"};
    private static final String[] lines = {"目的", "功能", "性能"};

    private Pair<String, String> objective;
    private Pair<String, String> function;
    private Pair<String, String> performance;

    @Override
    public int getLevel() {
        return 2;
    }

    public static String getName() {
        return name;
    }

    public static String[] getColumns() {
        return columns;
    }

    public static String[] getLines() {
        return lines;
    }

    public Pair<String, String> getObjective() {
        return objective;
    }

    public void setObjective(Pair<String, String> objective) {
        this.objective = objective;
    }

    public Pair<String, String> getFunction() {
        return function;
    }

    public void setFunction(Pair<String, String> function) {
        this.function = function;
    }

    public Pair<String, String> getPerformance() {
        return performance;
    }

    public void setPerformance(Pair<String, String> performance) {
        this.performance = performance;
    }


}
